package com.itheima.bytewenti;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;

/*
演示字节流中文乱码问题
 */
public class Demo01 {

    public static void main(String[] args) throws IOException {
        FileInputStream fis = new FileInputStream("day13\\a.txt");
        int b;
        while ((b=fis.read())!=-1){
            System.out.println((char)b);
        }

    }

}
